package hasthi.tools;

import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;

//import javax.xml.namespace.QName;
//
//import org.w3c.dom.Element;
//import org.w3c.dom.Node;
//import org.w3c.dom.NodeList;

public class XsltUtils {

    public static String resUrl(String name){
        try {
            return "/hasthi/resource/"+URLEncoder.encode(name,"UTF-8");
        } catch (UnsupportedEncodingException e) {
            e.printStackTrace();
            return null;
        }
    }
}
